package com.jmodusoperandi.orders.api.storage.dao;

import java.util.List;

import com.jmodusoperandi.orders.api.storage.dao.exception.DAOException;
import com.jmodusoperandi.orders.model.Order;

public interface DAOOrderIF {

	Order getOrder (String id) throws DAOException;
	
	void saveOrder(Order order) throws DAOException;
	
	List<Order> getOrders() throws DAOException;
	
	List<Order> getOrdersByDateRange(String initDate, String endDate) throws DAOException;
	
}
